<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<com:THead ID="pageHead">
	<title><com:TContentPlaceHolder ID="title" /></title>
    <meta name="description" content="" />
    <meta name="keywords" content="" />
	<noscript><meta http-equiv="refresh" content="0;URL=noscript.html" /></noscript>
	<com:TContentPlaceHolder ID="meta" />
	<com:TContentPlaceHolder ID="script" />
    <link rel="shortcut icon" href="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/favicon.ico" />
	<link href="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/style.css" rel="stylesheet" type="text/css" />
	<link href="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/web-font/stylesheet.css" rel="stylesheet" type="text/css" />
	<link href="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/detail-slider.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/jquery-1.9.1.js"></script>    
	<script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/jquery.customSelect.min.js"></script>
	<script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/jquery.slides.min.js"></script>		
    <script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/customCheckbox.js"></script>
	<script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/jquery.jcarousel.min.js"></script>
	<script type="text/javascript" src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/scripts/jquery.pikachoose.min.js"></script>
    <script type="text/javascript">
		function hide_msg(obj) {
			obj.style.display = 'none';
		}
		
		function search_google(seachBoxId) {
			var query = document.getElementById(seachBoxId).value;
			if (query == "Google Search")
				query = "";
			var win=window.open('http://www.google.com/search?q=' + query +'+site:latenightdine.com', '_blank');
			win.focus();
		}
	</script>
    <script>	
	  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){	
	  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),	
	  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)	
	  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');	
	  ga('create', 'UA-40580409-1', 'latenightdine.com');
	  ga('send', 'pageview');
	</script>
</com:THead>
<body>
<com:TForm>
	<div id="header">
		<div class="container">
			<div id="logo"><h1><a href="<%= $this->Service->ConstructUrl('Index') %>">Late Night Dine</a></h1></div>
			<div id="menu-header">
            	<com:THiddenField ID="cssMenuHome" />
                <com:THiddenField ID="cssMenuFoodPlace" />
                <com:THiddenField ID="cssMenuAbout" />	
                <com:THiddenField ID="cssMenuLogIn" />
                <com:THiddenField ID="cssMenuRegister" />
				<ul id="menu-left">
					<li class="<%= $this->cssMenuHome->Value %>">
                    	<div class="hover_left"></div><a href="<%= $this->Service->ConstructUrl('Index') %>">Home</a><div class="hover_right"></div>
                    </li>
					<li class="<%= $this->cssMenuFoodPlace->Value %>">
                    	<div class="hover_left"></div><a href="<%= $this->Service->ConstructUrl('FoodPlaces') %>">Food Places</a><div class="hover_right"></div>
                    </li>
					<li class="<%= $this->cssMenuAbout->Value %>">
                    	<div class="hover_left"></div><a href="<%= $this->Service->ConstructUrl('corp.AboutUs') %>">About Us</a><div class="hover_right"></div>
                    </li>
					<li class="<%= $this->cssMenuLogIn->Value %>">
                        <com:TPanel ID="hoverLeft1" CssClass="hover_left"></com:TPanel>	
                        <com:THyperLink ID="lnkLogin" NavigateUrl="<%= $this->Service->ConstructUrl('Login') %>" Text="Log In" />
                        <com:TPanel ID="hoverRight1" CssClass="hover_right"></com:TPanel>	
                    </li>
					<!--li class="last_child"-->
					<li class="<%= $this->cssMenuRegister->Value %>">
                        <com:TPanel ID="hoverLeft2" CssClass="hover_left"></com:TPanel>	
                        <com:THyperLink ID="lnkRegister" NavigateUrl="<%= $this->Service->ConstructUrl('Register') %>" Text="Register" />
						<com:TPanel ID="hoverRight2" CssClass="hover_right"></com:TPanel>	
					</li>
				</ul>
				<ul id="menu-right" style="float:right">
					<li>
                    	<a href="https://twitter.com/latenightdine" target="_blank">
                        	<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_tw.png" />
                        </a>
                    </li>
					<li>
                    	<a href="https://www.facebook.com/pages/Late-Night-Dine-Pte-Ltd/381873865263980" target="_blank">
                        	<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_fb.png" />
                        </a>
                    </li>
					<li>
                    	<a href="http://latenightdine.tumblr.com/" target="_blank">
                        	<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_t.png" />
                        </a>
                    </li>
					<li>
                    	<a href="http://www.flickr.com/photos/latenightdine/" target="_blank">
                    		<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_2cham.png" />
                    	</a>
                    </li>
					<li>
                    	<a href="https://foursquare.com/user/54998490" target="_blank">
                        	<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_ok.png" />
                        </a>
                    </li>
					<li>
                    	<a href="http://pinterest.com/latenightdine/" target="_blank">
                    		<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/icon_q.png" />
                     	</a>
                    </li>
				</ul>                
			</div>            
		</div>
		<div class="clear"></div>        
        <div class="container">
        	<div style="float:left; margin:15px 0 0 0; font-size:14px;">
            	<com:TLabel ID="lblWelcome" Visible="False" />
                <com:THyperLink ID="lnkProfile" NavigateUrl="<%= $this->Service->ConstructUrl('profile.EditProfile') %>" Visible="false" />
                <com:TLabel ID="lblLine1" Visible="False" Text=" | " />
                <com:THyperLink ID="lnkAdmin" NavigateUrl="<%= $this->Service->ConstructUrl('admin.ManageFoodPlaces') %>" Text="Admin Panel" Visible="false" />
                <com:THyperLink ID="lnkPostFoodPlace" NavigateUrl="<%= $this->Service->ConstructUrl('PostFoodPlace') %>" Text="Post Food Place" Visible="false" />  
                <com:TLabel ID="lblLine2" Visible="False" Text=" | " />
                <com:TLinkButton ID="lnkLogOut" Text="Log Out" OnClick="btnLogout_Clicked" CausesValidation="False" Visible="false" />            
            </div>               
            <div style="float:left; margin:15px 0 0 20px; font-size:14px;">
            	<com:TActiveLabel ID="lblMessage" Visible="False" 
                	Attributes.onClick="javascript:hide_msg(this);" /> 
            </div>
            <div style="float:right; margin: 0px 0 0 0;" class="inp_wrap_google">
                <com:TActiveTextBox ID="txtGoogleSearch" CssClass="inp_google" Text="Google Search" 
                    Attributes.onfocus="if (this.value == 'Google Search'){this.value = '';}"
                    Attributes.onblur="if (this.value == ''){this.value = 'Google Search';}"/>
                <com:TButton ID="btnGoogleSearch" Text="Search" OnClick="btnGoogleSearch_Clicked" CssClass="btn_google" 
                	Attributes.onClick="search_google('<%= $this->txtGoogleSearch->ClientID %>');" />
            </div>            
        </div>
	</div>
	<div class="clear"></div>
	<com:TContentPlaceHolder ID="content" />
	<div class="clear"></div>
	<div id="footer">
		<div class="container">
			<div id="footer-left">
				<h3 class="footer_title">LateNightDine - Fast Food for Night</h3>
				<p>					
					Registration Number: 201301292R <br />
					<a class="email_contact" href="mailto:contactus@latenightdine.com">contactus@latenightdine.com</a>
				</p>
				<div style="float:left; margin: 20px 0 0 0;">
                    <com:TActiveTextBox ID="txtSubcribeEmail" Text="Subscribe Newsletter" Style="width:200px; height:23px;" 
                        Attributes.onfocus="if (this.value == 'Subscribe Newsletter'){this.value = '';}"
                        Attributes.onblur="if (this.value == ''){this.value = 'Subscribe Newsletter';}"/>
                    <com:TButton ID="btnNewsLetter" Text="Submit" OnClick="btnNewsLetter_Clicked" CssClass="btn_newsletter" />
            	</div>            
			</div>
			<div class="cols_menu">
				<h3 class="footer_title">Main</h3>
				<ul>
					<li><a href="<%= $this->Service->ConstructUrl('Index') %>">Home</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('FoodPlaces') %>">Food Places</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('Login') %>">Log In</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('Register') %>">Register</a></li>
				</ul>
			</div>
			<div class="cols_menu">
				<h3 class="footer_title">Company</h3>
				<ul>
					<li><a href="<%= $this->Service->ConstructUrl('corp.AboutUs') %>">About Us</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('corp.TermCondition') %>">Term &amp; Conditions</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('corp.Disclaimer') %>">Disclaimer</a></li>
					<li><a href="<%= $this->Service->ConstructUrl('corp.ContactUs') %>">Contact Us</a></li>
				</ul>
			</div>
			<div id="footer-right" style="padding-top:0px;">
				<!--h1>Late Night Dine</h1-->
				<img src="<%= $this->Request->UrlManagerModule->UrlPrefix %>/themes/default/images/logo_footer.png" height="70px" />
				<p>				
					&copy;2013 Late Night Dine Pte. Ltd.<br/>				
					Powered by <a href="http://www.asiablaze.com/" target="_blank" title="Singapore Website Design">AsiaBlaze Design</a>
				</p>
			</div>
		</div>
	</div>
</com:TForm>    
</body>
</html>